from selenium import webdriver
from selenium.webdriver.common.by import By

# 参照class="el-button primary el-button--primary el-button--medium"

driver = webdriver.Chrome()
driver.get("http://192.168.46.5:18089/login")
driver.find_element(By.CLASS_NAME, 'username').send_keys("XTGLY")
driver.find_element(By.CLASS_NAME, 'password').send_keys("123456")
driver.find_element(By.CLASS_NAME, 'el-button--medium').click()